package nextfm.bean;

import nextfm.dao.DAOAlbum;
import nextfm.model.Album;

public class VerAlbumBean {

	private int id;
	private DAOAlbum daoAlbum = new DAOAlbum();
	private Album album;
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public Album getAlbum() {
		this.album = daoAlbum.find(getId());
		return album;
	}
	
	public void setAlbum(Album album) {
		this.album = album;
	}

}
